#!/bin/bash

ROOT_PATH=$(cd $(dirname $0) && pwd);
SCRIPT_NAME=$(basename "${BASH_SOURCE[0]}");
NAME="${SCRIPT_NAME%.*}"	# cut extension
NAME="${NAME#*.}"			# cut number

#apt -y install $NAME

for file in $ROOT_PATH/$NAME/*.deb
do
	apt -y install ${file}
	#break
done

